Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v1.1.0 #5

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open

Update to v1.1.0 #5

wants to merge 20 commits into from

Conversation

rafal-gorecki
Copy link
Collaborator

@rafal-gorecki rafal-gorecki commented Jan 8, 2025

Description:

  • Add new ToggleSrvButton
  • Add notification block while calling srv failed
  • Unify colors between panels

@rafal-gorecki rafal-gorecki changed the title Bool srv button Update to v1.1.0 Jan 8, 2025
Comment on lines +264 to +271
setSrvState({ status: "error", response: undefined });
return;
}

const serviceName = eStopAction === "go" ? config.goServiceName : config.stopServiceName;

if (!serviceName) {
setReqState({ status: "error", value: "Service name is not configured" });
setSrvState({ status: "error", response: undefined });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't these errors be propagated to the user?

Comment on lines +37 to +38
capabilities: allowToggleSrvButton ? [PlayerCapabilities.toggleSrvButtons] : [],
toggleSrvButton,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks have failed

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least some of them seem to originate from this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants